 |
 |
 |
 |
#316007 - 10/15/07 10:20 AM
Re: [7.2.2] Help...Make PM HTML enabled.
[Re: smallufo]
|
Enthusiast
Registered: 02/25/07
Posts: 329
Loc: The Netherlands
|
Okay done! The thing I said to edit in /scripts/sendmessage.inc.php, do the same for /scripts/mess_reply.inc.php This will make sure both html and ubb code markup is available in all PM's. You also need to edit 3 templates for the preview to work: You need to add this line: <input type="hidden" name="convert" value="both" /> to /templates/default/viewmessage.tpl after <input type="hidden" name="ubb" value="mess_reply" />
/templates/default/mess_handler.tpl after <input type="hidden" name="ubb" value="mess_reply" />
/templates/default/sendprivate.tpl after <input type="hidden" name="ubb" value="sendmessage" /> These edits adds the variable convert to the forms, which tells the preview engine how to markup the message. Let me know if it works please!
Edited by blaaskaak (10/15/07 10:29 AM)
_________________________
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|